/*
 * io_unittest.c
 *
 *  Created on: Nov 17, 2011
 *      Author: redchen
 */

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unittest.h>

//all suite method
extern void master_service_add_suite();
extern void store_file_add_suite();
extern void chunk_manager_add_suite();
extern void chunk_service_add_suite();

void set_all_suite()
{
    //master
    master_service_add_suite();
    store_file_add_suite();
    chunk_manager_add_suite();
    chunk_service_add_suite();
}

#ifdef AUTO_UNITTEST

int main()
{
	unittest_init();
	set_all_suite();
	unittest_suite_run_all();
	unittest_destory();
	return 0;
}

#endif
